package tests;

import common.Utils;

import java.io.IOException;

public class ListPage extends Utils {
    private static String url = "http://120.26.87.94:8080/blog_list.html";
    public ListPage() {
        super(url);
    }


    public void ListPageByNoLogin() throws IOException {
        driver.get(url);
        //列表页未登录处理

        //调整到登录页面
        String expect = driver.getTitle();

        getScreenShot(getClass().getName());

        assert expect.equals("博客登陆页");
    }
}
